#!/bin/bash

if [[ "$(uname -s)" == "Darwin" ]]; then
	temp_dir="$(mktemp -d)"
	target_file="$temp_dir"/iina.rb
	curl -SsL https://gitee.com/hevey88/brew-user/raw/main/Casks/iina.rb -o "$target_file"
	brew install --no-quarantine --cask "$target_file"
else
	echo "Only for macOS"
fi
